package customerEnter.Frame.JDBCDao.Processor;

import customerEnter.tool.WhetherToEmpty;

/**
 * 抽象工廠結果處理 单例模式
 * 
 * 类名称：ResultProcessorAbstract 类描述： 创建人：dy 创建时间：2016-4-30 上午10:43:49
 * 
 */
public class ResultProcessorAbstract implements ResultProcessorinterface {

	private static ResultProcessorinterface	resultProcessorinterface;

	private ResultProcessorAbstract() {

	}

	/**
	 * 獲取單例
	 */
	public static ResultProcessorinterface getResultProcessorinterface() {
		if (WhetherToEmpty.ObjectWhetherToEmpty(resultProcessorinterface)) {
			resultProcessorinterface = new ResultProcessorAbstract();
		}
		return resultProcessorinterface;
	}

	/**
	 * 转换成list
	 */
	public ResultProcessor resultProcessorList() {
		return new ProcessorModelImpl();
	}
}
